package com.liqi.frame.comm.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author liqi on 2019/12/6 0006. liqiwork@qq.com
 */
@Component
@ConfigurationProperties(prefix = "app")
@Data
public class AppProperties {
    @Autowired
    private SsoProperties ssoProperties;
    @Autowired
    private MockUserProperties mockUserProperties;
    @Autowired
    private QiniuProperties qiniuProperties;
    @Autowired
    private PermissionProperties permissionProperties;
    @Autowired
    private RabbitMQProperties rabbitMQProperties;

    /**
     * 项目中文名
     */
    private String projectName;
    /**
     * 首页链接，如：/index/nav/indexPage
     */
    private String indexPage;
}
